<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <!--<link rel="stylesheet" th:href="@{/bootstrap-3.3.7-dist/css/bootstrap.css}">
    <script type="text/javascript" th:src="@{/jquery-2.1.4.js}"></script>
    <script type="text/javascript" th:src="@{/mylayer.js}"></script>-->

    <div th:replace="header::common_resource"></div>
</head>
<body>
    <!--http://localhost:8080/-->
    <a class="btn btn-primary" href="#" th:href="@{/}">返回首页</a> <br>
    <a href="#" th:href="@{/url/demo}">访问UrlController下面的demo方法</a> <br>
    <!-- 会生成 url: http://localhost:8888/url/demo?id=2&name=zhangsan -->
    <a href="#" th:href="@{/url/demo(id=${student.id},name=${student.name})}">访问UrlController下面的demo方法带参数</a> <br>
</body>
</html>